package com.example.xxpk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangguihong
 * @since 2025-02-22
 */
@Getter
@Setter
@TableName("user_energys")
@ApiModel(value = "UserEnergys对象", description = "")
public class UserEnergys implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("体力记录id")
    @TableId(value = "user_energys_id", type = IdType.AUTO)
    private Integer userEnergysId;

    @ApiModelProperty("用户 ID")
    private Integer userId;

    @ApiModelProperty("获得方式(1 观看广告 2 分享)")
    private Integer type;

    @ApiModelProperty("观看广告的次数")
    private Integer adWatchCount;

    @ApiModelProperty("次数")
    private Integer count;
}
